<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加文章</title>
</head>
<body>
<?php require("adminnav.php"); ?>
<form action="addartsave.php" method="post" name="addart">
文章标题:
<input name="title" type="text" value="在此输入标题" />
文章分类:
<select name="artclass" >
<?php
require_once("conn.php");
$query="select * from artclass";
	 $result=mysql_query($query);
	 if($result==true){
	 while($row=mysql_fetch_array($result)){
	 ?>
	  <option value="<?php  echo $row['cs_id'];?>"><?php echo $row['cs_name'];?> </option>
	  <?php }}?>
    </select>
      </p>
  <p>
<textarea name="content" id="content" rows="50" cols="152" style="width: 520px; height: 295px">在这里写文章</textarea> 


<p>
  <input type="submit" name="addart" id="button" value="提交" />   
</form>
 <script charset="utf-8" src="../editor/kindeditor-min.js"></script>
		<script>
			KE.show({
				id : 'content',
                urlType : 'absolute',
				width: '520px',
                resizeMode:0,
                allowUpload : false,
				filterMode : true
			});
		</script>
</body>
</html>